package com.hai.service;

import com.hai.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author NieChangan
 * @since 2022-05-21
 */
public interface DepartmentService extends IService<Department> {


    /**
     * 功能描述: <br>
     * 〈分组查询部门的名字和人数〉
     * @Param:
     * @Return:
     * @Author: Mr.Nie
     * @Date:
     */
    List<Department> getDepartmentNameAndCount();
}
